interface StructureDistributeMemory {

    // 孵化中心 ======================

    // spawn
    spawn0?: Id<StructureSpawn>;
    spawn1?: Id<StructureSpawn>;
    spawn2?: Id<StructureSpawn>;
    // hatchery battery
    leftBattery?: Id<StructureContainer>;
    rightBattery?: Id<StructureContainer>;
    // fast-fill extensions
    fastFillExts?: Id<StructureExtension>[];

    // link 网络 =====================
    hatcheryLink?: Id<StructureLink>;
    centerLink?: Id<StructureLink>;
    upgradeLink?: Id<StructureLink>;
    sourceLinks?: Id<StructureLink>[];

    // 塔 ============================
    commonTower?: Id<StructureTower>;

}

interface RoomMemory {
    distribute: StructureDistributeMemory;
}